package com.zac.junit.theories;

import org.junit.Test;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.assertThat;

public class CounterTest {
	
	@Test 
	public void testIncrement()	{
	    Counter c = new Counter(3);
	    c.increment();
	    //assertEquals(4, c.getValue());
	    assertThat(c.getValue(), equalTo(4));
	    c.increment();
	    //assertEquals(5, c.getValue());
	    assertThat(c.getValue(), equalTo(5));
	}
	
}
